﻿@{
    ViewBag.Title = "修改密码";
    Layout = "~/Views/Shared/_LayoutDualColumns.cshtml";
}
@model Ducu.SRV.ViewModel.Password.ChangModel
@section PageHeader{
    <span class="glyphicon glyphicon-user" aria-hidden="true"></span><span class="after-glyphicon">@ViewBag.Title</span>
}
@using (Html.BeginForm())
{
    <div class="form-group">
        <label>旧密码：</label>
        @Html.PasswordFor(m => m.Old, new { @class = "form-control", placeholder = "不少于4个字符" })
        @Html.ValidationMessageFor(m => m.Old)
    </div>
    <div class="form-group">
        <label>新密码：</label>
        @Html.PasswordFor(m => m.New, new { @class = "form-control", placeholder = "不少于4个字符" })
        @Html.ValidationMessageFor(m => m.New)
    </div>
    <div class="form-group">
        <label>确认密码：</label>
        @Html.PasswordFor(m => m.NewConfirm, new { @class = "form-control", placeholder = "请再输入一次密码" })
        @Html.ValidationMessageFor(m => m.NewConfirm)
    </div>
    @Html.Partial("_CommonSubmit")
}
@section RightPanel{
    <li>
        要求再输入一次旧密码，是为了保证安全。
    </li>
    <li>
        确认密码是新密码的确认密码，意思是再输入一次新密码。
    </li>    
    <li>
        密码修改成功后，会保持登录状态，并跳转到之前页面。
    </li>
}




